home *** CD-ROM | disk | FTP | other *** search
- //
- // Generated by Microsoft (R) D3DX9 Shader Compiler 9.04.91.0000
- //
- // fxc /T ps_2_0 /DCGC=0 /Fc ..\..\WorkDir\Shaders\ps\ps2_0_motion_blur.psh
- // ps2_0_motion_blur.cg
- //
- //
- // Parameters:
- //
- // sampler2D $Frame0;
- // sampler2D $Frame1;
- // sampler2D $Frame2;
- // sampler2D $Frame3;
- // sampler2D $Frame4;
- // sampler2D $Frame5;
- // float4 $WeightCoeff0;
- // float4 $WeightCoeff1;
- // float4 $WeightCoeff2;
- // float4 $WeightCoeff3;
- // float4 $WeightCoeff4;
- // float4 $WeightCoeff5;
- //
- //
- // Registers:
- //
- // Name Reg Size
- // ------------- ----- ----
- // $WeightCoeff0 c0 1
- // $WeightCoeff1 c1 1
- // $WeightCoeff2 c2 1
- // $WeightCoeff3 c3 1
- // $WeightCoeff4 c4 1
- // $WeightCoeff5 c5 1
- // $Frame0 s0 1
- // $Frame1 s1 1
- // $Frame2 s2 1
- // $Frame3 s3 1
- // $Frame4 s4 1
- // $Frame5 s5 1
- //
-
- ps_2_0
- dcl t0.xy
- dcl t1.xy
- dcl t2.xy
- dcl t3.xy
- dcl t4.xy
- dcl t5.xy
- dcl_2d s0
- dcl_2d s1
- dcl_2d s2
- dcl_2d s3
- dcl_2d s4
- dcl_2d s5
- texld r5, t1, s1
- texld r4, t0, s0
- texld r3, t2, s2
- texld r2, t3, s3
- texld r1, t4, s4
- texld r0, t5, s5
- mul r5, r5, c1
- mad r4, r4, c0, r5
- mad r3, r3, c2, r4
- mad r2, r2, c3, r3
- mad r1, r1, c4, r2
- mad r0, r0, c5, r1
- mov oC0, r0
-
- // approximately 13 instruction slots used (6 texture, 7 arithmetic)
-